<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<div align="right">
    <c:choose>
        <c:when test="${empty USER_INFO}">
            <form action="users" method="post" target="_parent">
                <input type="hidden" name="type" value="login">
                账号：<input name="phone" placeholder="请输入手机号">
                密码：<input type="password" name="pass">
                <button>登录</button>
            </form>
        </c:when>
        <c:otherwise>
            欢迎${USER_INFO.userName},<a href="users?type=zhu" target="_parent">注销</a>
        </c:otherwise>
    </c:choose>
</div>
</body>
</html>
